﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KDSugar.Galaxy.API.MetaData.Result
{
    /// <summary>
    /// 元数据返回包装类
    /// </summary>
    public class MDReturnInfo
    {
        /// <summary>
        /// 返回信息
        /// </summary>
        public MDResultInfo Result { get; set; }

        /// <summary>
        /// 元数据返回信息类
        /// </summary>
        public class MDResultInfo
        {
            /// <summary>
            /// 返回状态信息
            /// </summary>
            public Base.Result.ResponseStatusInfo ResponseStatus { get; set; }

            /// <summary>
            /// 元数据信息
            /// </summary>
            public MDInfo NeedReturnData { get; set; }

            /// <summary>
            /// 操作信息列表
            /// </summary>
            public List<Base.Result.OperationInfo> Operations { get; set; }
        }
    }
}
